home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1994 / MacHack 1994.toast / MacHack™ 1987-1994 / MacHack™ '87 / PreProc ƒ / PreProc / PreProc.rsrc / STR#_2.txt < prev    next >
Encoding:
Text File  |  1986-08-09  |  1.2 KB  |  47 lines

  1. Commands: Every command starts with '{$' and can end with '}' or <Return>.
  2.  
  3.  In the lines below, the characters '[' and ']' surround anything optional.
  4.  
  5.  
  6.  
  7.  {$OPT "Output file extension"[,"Launch name"] - Specify as first line of input, ignored if encountered
  8.  
  9.   later. If not specified, PreProc will prompt you. If you give a launch name, PreProc will attempt to
  10.  
  11.   launch the application by that name.
  12.  
  13.  
  14.  
  15.  {$PREIN "File Name of include file" - The file will be preprocessed and included in the output.
  16.  
  17.  
  18.  
  19.  {$DECL Variable1[,Variable2,...Variable10] - Declares preprocessor variables. At present, only integer
  20.  
  21.   use supported. Duplicate declarations are ignored.
  22.  
  23.  
  24.  
  25.  {$SETC Variable := Numeric Literal - Sets value of variable to value of numeric literal
  26.  
  27.   (spaces must surround ':=')
  28.  
  29.  
  30.  
  31.  {$IFC Variable (<>=) Numeric Literal - Compares variable and literal, if true includes statements between
  32.  
  33.   $IFC and $ELSEC or $ENDC, whichever is first. If false, text between $ELSEC and $ENDC is included.
  34.  
  35.  
  36.  
  37.  [{$ELSEC] and {$ENDC - Both used in conjunction with $IFC
  38.  
  39.  
  40.  
  41.   NOTE: If you are using HFS, supply full pathname for file names.
  42.  
  43.  
  44.  
  45.   For more information, check out the accompaning documentation file.
  46.  
  47.